diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-12-20 17:11:37 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-12-20 17:11:37 +0000 |
| commit | bed3635d310d243a7946566e4eea0ed5e4833a49 (patch) | |
| tree | 13645f1d4ab2283cd8e8aceb2e836cebec9e2a98 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 02cb942ad9e1bd9dd6cb1083bd322ade3f83613e (diff) | |
Move ShidToPatio code to separate package
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 21 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..d5f76603 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,21 @@ +Compilation unit elements: + +( + function-decl + "shed__runtime__string_add" + params=((param "left" int) (param "right" int)) + return-type=int +) + +Locals: + * (val "binaryOpResult__0" int) + +Instructions: + +( + (call (local "binaryOpResult__0") "shed__runtime__string_add" ((local "b") (local "c"))) +) + +Temporary stack: + * PatioLocalRef[name=binaryOpResult__0] + * PatioLocalRef[name=a] |
